package com.szcinda.service.dto.ghOrder;

import com.szcinda.service.dto.client.ClientVehiclePriceDto;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.List;

@Data
public class GhOrderUpdateDto implements Serializable {
    private String id;
    private String clientId;
    private LocalDate pickDate;
    private String bookNumber;
    private String originPlace;
    private String destPlace;
    private int quantity;
    private double squareNumber;
    private double grossWeight;
    private double volumeWeight;
    private LocalDate actDepartureTime;
    private LocalDate receiveDate;
    private String deliveryModel;
    private String deliveryModelRemark;
    private double deliveryModelFee;
    private String carrierId;
    private String opId;
    private String businessCode;
    private String calculateType;
    private String organizationId;
    private String invoice;
    private String settlement;
    private String outInvoice;
    private String outSettlement;
    private double pb;
    private String remark;
    private String billRemark;// 账单备注

    // 报关费 关联费用
    private double homeFee;// 主页费单价
    private double sheetFee;// 续页费单价
    private int homeCount;// 主页数
    private int sheetCount;// 续页数


    private String vehicleType;// 提货车型
    private String vehicleLine;// 提货线路
    private String deliveryLine;// 派送线路

    private List<FeeDto> feeList;

    private List<FeeDto> outFeeList;

    private List<ClientVehiclePriceDto> vehiclePrices;


    @Data
    public static class FeeDto implements Serializable {
        private String feeName;
        private double feeCount;
        private String status;
        private String currency;
        private String carrierId;
        private boolean canSee;
    }
}
